import 'package:flutter/material.dart';
import './home_swiper.dart';
class HomeList extends StatefulWidget {
  int arguments;
  HomeList({Key key,this.arguments}) : super(key: key);

  @override
  _HomeListState createState() => _HomeListState();
}

class _HomeListState extends State<HomeList> {
  int _count=0;
  List homelist=[
 Center(child:
        HomeSwiper()),
        Center(child:Text('数码')),
        // Center(child:Text('数码')),
        // Center(child:Text('数码')),
        // Center(child:Text('数码')),
        // Center(child:Text('数码')),
        // Center(child:Text('数码')),
  ];
  int arguments;
  _HomeListState({this.arguments});
  void initState(){
    super.initState();
    setState(() {
      this._count=this.arguments;
    });
  }
  @override
  Widget build(BuildContext context) {
    // return TabBarView(
         
    //   children: <Widget>[
    //    homelist[1],
    // ]);
    return homelist[1];
  }
}